package ooday01;

public class ConsTest {
    public static void main(String[] args) {
    Car bm = new Car();
    bm.brand = "宝马";
    bm.color = "白";
    bm.price = 500000;
    bm.capacity = 5;
    bm.start();
    Car ad = new Car("奥迪","黑",600000,5);
    ad.start();
    Car bc = new Car("奔驰","蓝",800000,7);
    bc.start();

    }
}
